<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
</head>
<body>


<h1>欢迎登录</h1>

<form action="${pageContext.request.contextPath}/user?method=login" method="post">
    <p><input type="text" name="username" placeholder="请输入用户名"></p>
    <p><input type="password" name="password" placeholder="请输入密码"></p>
    <p><input type="submit" value="立即登录"></p>
</form>
<span style="color: red">${info}</span>

</body>
</html>
